package com.yayo.mangement.dao;

import com.yayo.mangement.model.SysUserRoleDO;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 
 * @author: Yayo
 * @date: 2020-08-07 14:18:40
 */
@Repository
public class SysUserRoleDao extends MyBatisDao<SysUserRoleDO>{

    public List<SysUserRoleDO> findByUserId(Long userId) {
        return this.sqlSession.selectList(this.sqlId("findByUserId"), userId);
    }
}